Optimal. Leaf size=595 \[ -\frac{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )} \left (-\frac{3 a b c e-2 a c^2 d+b^2 c d+b^3 (-e)}{\sqrt{b^2-4 a c}}+a c e+b^2 (-e)+b c d\right ) \tan ^{-1}\left (\frac{x \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}{\sqrt{b-\sqrt{b^2-4 a c}} \sqrt{d+e x^2}}\right )}{2 c^3 \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )} \left (\frac{3 a b c e-2 a c^2 d+b^2 c d+b^3 (-e)}{\sqrt{b^2-4 a c}}+a c e+b^2 (-e)+b c d\right ) \tan ^{-1}\left (\frac{x \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}{\sqrt{\sqrt{b^2-4 a c}+b} \sqrt{d+e x^2}}\right )}{2 c^3 \sqrt{\sqrt{b^2-4 a c}+b}}-\frac{\sqrt{e} \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right ) \left (-\frac{3 a b c e-2 a c^2 d+b^2 c d+b^3 (-e)}{\sqrt{b^2-4 a c}}+a c e+b^2 (-e)+b c d\right )}{2 c^3}-\frac{\sqrt{e} \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right ) \left (\frac{3 a b c e-2 a c^2 d+b^2 c d+b^3 (-e)}{\sqrt{b^2-4 a c}}+a c e+b^2 (-e)+b c d\right )}{2 c^3}+\frac{x \sqrt{d+e x^2} (3 c d-4 b e)}{8 c^2}+\frac{d (3 c d-4 b e) \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{8 c^2 \sqrt{e}}+\frac{x \left (d+e x^2\right )^{3/2}}{4 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 3.28462, antiderivative size = 595, normalized size of antiderivative = 1., number of steps used = 17, number of rules used = 9, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.31, Rules used = {1291, 388, 195, 217, 206, 1692, 402, 377, 205} \[ -\frac{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )} \left (-\frac{3 a b c e-2 a c^2 d+b^2 c d+b^3 (-e)}{\sqrt{b^2-4 a c}}+a c e+b^2 (-e)+b c d\right ) \tan ^{-1}\left (\frac{x \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}{\sqrt{b-\sqrt{b^2-4 a c}} \sqrt{d+e x^2}}\right )}{2 c^3 \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )} \left (\frac{3 a b c e-2 a c^2 d+b^2 c d+b^3 (-e)}{\sqrt{b^2-4 a c}}+a c e+b^2 (-e)+b c d\right ) \tan ^{-1}\left (\frac{x \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}{\sqrt{\sqrt{b^2-4 a c}+b} \sqrt{d+e x^2}}\right )}{2 c^3 \sqrt{\sqrt{b^2-4 a c}+b}}-\frac{\sqrt{e} \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right ) \left (-\frac{3 a b c e-2 a c^2 d+b^2 c d+b^3 (-e)}{\sqrt{b^2-4 a c}}+a c e+b^2 (-e)+b c d\right )}{2 c^3}-\frac{\sqrt{e} \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right ) \left (\frac{3 a b c e-2 a c^2 d+b^2 c d+b^3 (-e)}{\sqrt{b^2-4 a c}}+a c e+b^2 (-e)+b c d\right )}{2 c^3}+\frac{x \sqrt{d+e x^2} (3 c d-4 b e)}{8 c^2}+\frac{d (3 c d-4 b e) \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{8 c^2 \sqrt{e}}+\frac{x \left (d+e x^2\right )^{3/2}}{4 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1291
Rule 388
Rule 195
Rule 217
Rule 206
Rule 1692
Rule 402
Rule 377
Rule 205
Rubi steps
\begin{align*} \int \frac{x^4 \left (d+e x^2\right )^{3/2}}{a+b x^2+c x^4} \, dx &=\frac{\int \sqrt{d+e x^2} \left (c d-b e+c e x^2\right ) \, dx}{c^2}-\frac{\int \frac{\sqrt{d+e x^2} \left (a (c d-b e)+\left (b c d-b^2 e+a c e\right ) x^2\right )}{a+b x^2+c x^4} \, dx}{c^2}\\ &=\frac{x \left (d+e x^2\right )^{3/2}}{4 c}-\frac{\int \left (\frac{\left (b c d-b^2 e+a c e+\frac{-b^2 c d+2 a c^2 d+b^3 e-3 a b c e}{\sqrt{b^2-4 a c}}\right ) \sqrt{d+e x^2}}{b-\sqrt{b^2-4 a c}+2 c x^2}+\frac{\left (b c d-b^2 e+a c e-\frac{-b^2 c d+2 a c^2 d+b^3 e-3 a b c e}{\sqrt{b^2-4 a c}}\right ) \sqrt{d+e x^2}}{b+\sqrt{b^2-4 a c}+2 c x^2}\right ) \, dx}{c^2}+\frac{(3 c d-4 b e) \int \sqrt{d+e x^2} \, dx}{4 c^2}\\ &=\frac{(3 c d-4 b e) x \sqrt{d+e x^2}}{8 c^2}+\frac{x \left (d+e x^2\right )^{3/2}}{4 c}+\frac{(d (3 c d-4 b e)) \int \frac{1}{\sqrt{d+e x^2}} \, dx}{8 c^2}-\frac{\left (b c d-b^2 e+a c e-\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right ) \int \frac{\sqrt{d+e x^2}}{b-\sqrt{b^2-4 a c}+2 c x^2} \, dx}{c^2}-\frac{\left (b c d-b^2 e+a c e+\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right ) \int \frac{\sqrt{d+e x^2}}{b+\sqrt{b^2-4 a c}+2 c x^2} \, dx}{c^2}\\ &=\frac{(3 c d-4 b e) x \sqrt{d+e x^2}}{8 c^2}+\frac{x \left (d+e x^2\right )^{3/2}}{4 c}+\frac{(d (3 c d-4 b e)) \operatorname{Subst}\left (\int \frac{1}{1-e x^2} \, dx,x,\frac{x}{\sqrt{d+e x^2}}\right )}{8 c^2}-\frac{\left (e \left (b c d-b^2 e+a c e-\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{1}{\sqrt{d+e x^2}} \, dx}{2 c^3}-\frac{\left (\left (2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e\right ) \left (b c d-b^2 e+a c e-\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{1}{\left (b-\sqrt{b^2-4 a c}+2 c x^2\right ) \sqrt{d+e x^2}} \, dx}{2 c^3}-\frac{\left (e \left (b c d-b^2 e+a c e+\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{1}{\sqrt{d+e x^2}} \, dx}{2 c^3}-\frac{\left (\left (2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e\right ) \left (b c d-b^2 e+a c e+\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right )\right ) \int \frac{1}{\left (b+\sqrt{b^2-4 a c}+2 c x^2\right ) \sqrt{d+e x^2}} \, dx}{2 c^3}\\ &=\frac{(3 c d-4 b e) x \sqrt{d+e x^2}}{8 c^2}+\frac{x \left (d+e x^2\right )^{3/2}}{4 c}+\frac{d (3 c d-4 b e) \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{8 c^2 \sqrt{e}}-\frac{\left (e \left (b c d-b^2 e+a c e-\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{1-e x^2} \, dx,x,\frac{x}{\sqrt{d+e x^2}}\right )}{2 c^3}-\frac{\left (\left (2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e\right ) \left (b c d-b^2 e+a c e-\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{b-\sqrt{b^2-4 a c}-\left (-2 c d+\left (b-\sqrt{b^2-4 a c}\right ) e\right ) x^2} \, dx,x,\frac{x}{\sqrt{d+e x^2}}\right )}{2 c^3}-\frac{\left (e \left (b c d-b^2 e+a c e+\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{1-e x^2} \, dx,x,\frac{x}{\sqrt{d+e x^2}}\right )}{2 c^3}-\frac{\left (\left (2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e\right ) \left (b c d-b^2 e+a c e+\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{b+\sqrt{b^2-4 a c}-\left (-2 c d+\left (b+\sqrt{b^2-4 a c}\right ) e\right ) x^2} \, dx,x,\frac{x}{\sqrt{d+e x^2}}\right )}{2 c^3}\\ &=\frac{(3 c d-4 b e) x \sqrt{d+e x^2}}{8 c^2}+\frac{x \left (d+e x^2\right )^{3/2}}{4 c}-\frac{\sqrt{2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e} \left (b c d-b^2 e+a c e-\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e} x}{\sqrt{b-\sqrt{b^2-4 a c}} \sqrt{d+e x^2}}\right )}{2 c^3 \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e} \left (b c d-b^2 e+a c e+\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e} x}{\sqrt{b+\sqrt{b^2-4 a c}} \sqrt{d+e x^2}}\right )}{2 c^3 \sqrt{b+\sqrt{b^2-4 a c}}}+\frac{d (3 c d-4 b e) \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{8 c^2 \sqrt{e}}-\frac{\sqrt{e} \left (b c d-b^2 e+a c e-\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right ) \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{2 c^3}-\frac{\sqrt{e} \left (b c d-b^2 e+a c e+\frac{b^2 c d-2 a c^2 d-b^3 e+3 a b c e}{\sqrt{b^2-4 a c}}\right ) \tanh ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d+e x^2}}\right )}{2 c^3}\\ \end{align*}
Mathematica [B] time = 6.51279, size = 18689, normalized size = 31.41 \[ \text{Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.034, size = 516, normalized size = 0.9 \begin{align*}{\frac{x}{4\,c} \left ( e{x}^{2}+d \right ) ^{{\frac{3}{2}}}}+{\frac{3\,dx}{8\,c}\sqrt{e{x}^{2}+d}}+{\frac{3\,{d}^{2}}{8\,c}\ln \left ( \sqrt{e}x+\sqrt{e{x}^{2}+d} \right ){\frac{1}{\sqrt{e}}}}+{\frac{b{x}^{2}}{4\,{c}^{2}}{e}^{{\frac{3}{2}}}}-{\frac{xeb}{4\,{c}^{2}}\sqrt{e{x}^{2}+d}}+{\frac{bd}{8\,{c}^{2}}\sqrt{e}}+{\frac{a}{{c}^{2}}{e}^{{\frac{3}{2}}}\ln \left ( \sqrt{e{x}^{2}+d}-\sqrt{e}x \right ) }-{\frac{{b}^{2}}{{c}^{3}}{e}^{{\frac{3}{2}}}\ln \left ( \sqrt{e{x}^{2}+d}-\sqrt{e}x \right ) }+{\frac{3\,bd}{2\,{c}^{2}}\sqrt{e}\ln \left ( \sqrt{e{x}^{2}+d}-\sqrt{e}x \right ) }-{\frac{b{d}^{2}}{8\,{c}^{2}}\sqrt{e} \left ( \sqrt{e{x}^{2}+d}-\sqrt{e}x \right ) ^{-2}}-{\frac{1}{2\,{c}^{3}}\sqrt{e}\sum _{{\it \_R}={\it RootOf} \left ( c{{\it \_Z}}^{4}+ \left ( 4\,be-4\,cd \right ){{\it \_Z}}^{3}+ \left ( 16\,a{e}^{2}-8\,deb+6\,c{d}^{2} \right ){{\it \_Z}}^{2}+ \left ( 4\,b{d}^{2}e-4\,c{d}^{3} \right ){\it \_Z}+c{d}^{4} \right ) }{\frac{ \left ( 2\,ab{e}^{2}c-2\,a{c}^{2}de-{b}^{3}{e}^{2}+2\,{b}^{2}dec-b{c}^{2}{d}^{2} \right ){{\it \_R}}^{2}+2\, \left ( 2\,{a}^{2}c{e}^{3}-2\,a{b}^{2}{e}^{3}+2\,abcd{e}^{2}+{b}^{3}d{e}^{2}-2\,{b}^{2}{d}^{2}ec+b{c}^{2}{d}^{3} \right ){\it \_R}+2\,abc{d}^{2}{e}^{2}-2\,a{c}^{2}{d}^{3}e-{b}^{3}{d}^{2}{e}^{2}+2\,{b}^{2}c{d}^{3}e-{c}^{2}{d}^{4}b}{{{\it \_R}}^{3}c+3\,{{\it \_R}}^{2}be-3\,{{\it \_R}}^{2}cd+8\,{\it \_R}\,a{e}^{2}-4\,{\it \_R}\,bde+3\,{\it \_R}\,c{d}^{2}+b{d}^{2}e-c{d}^{3}}\ln \left ( \left ( \sqrt{e{x}^{2}+d}-\sqrt{e}x \right ) ^{2}-{\it \_R} \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )}^{\frac{3}{2}} x^{4}}{c x^{4} + b x^{2} + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{4} \left (d + e x^{2}\right )^{\frac{3}{2}}}{a + b x^{2} + c x^{4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.43415, size = 140, normalized size = 0.24 \begin{align*} \frac{1}{8} \, \sqrt{x^{2} e + d}{\left (\frac{2 \, x^{2} e}{c} + \frac{{\left (5 \, c^{5} d e^{2} - 4 \, b c^{4} e^{3}\right )} e^{\left (-2\right )}}{c^{6}}\right )} x - \frac{{\left (3 \, c^{2} d^{2} - 12 \, b c d e + 8 \, b^{2} e^{2} - 8 \, a c e^{2}\right )} e^{\left (-\frac{1}{2}\right )} \log \left ({\left (x e^{\frac{1}{2}} - \sqrt{x^{2} e + d}\right )}^{2}\right )}{16 \, c^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]